﻿using AdminSystem.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AdminSystem.Domain
{
    /// <summary>
    /// 养殖表
    /// </summary>
    public class CultivationInfo : BaseClass
    {
        /// <summary>
        /// 养殖编号
        /// </summary>
        [Key]
        public int CultivationInfoId { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        [StringLength(50)]
        public string Variety { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        [StringLength(50)]
        public string Source { get; set; }
        /// <summary>
        /// 饲养天数
        /// </summary>
        public int FeedingDays { get; set; }
        /// <summary>
        /// 饲养品牌
        /// </summary>
        [StringLength(50)]
        public string FeedingBrand { get; set; }
        /// <summary>
        /// 饲养负责人
        /// </summary>
        [StringLength(50)]
        public string FeedingHead { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime BirthData { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
        /// <summary>
        /// 溯源编号
        /// </summary>
        [StringLength(50)]
        public string TraceabilityId { get; set; }
    }
}
